package com.omp.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * 产品行业
 */
@Entity
@Table(name = "busi_product_catalog")
@IdClass(ProductCatalogPK.class)
public class ProductCatalog {

	private Integer industryId; //行业
	private Integer productId; //产品
	private String beginDate; //生效开始日期
	private String endDate; //结束日期

	@Id
	public Integer getIndustryId() {
		return industryId;
	}

	public void setIndustryId(Integer industryId) {
		this.industryId = industryId;
	}

	@Id
	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

}
